package com.example.dayu521.msg_sender.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author baomidou
 * @since 2023-03-25
 */
@Getter
@Setter
@TableName("sms_event")
public class Event implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 1 秒杀上架定时任务
     */
    private Integer event_type;

    /**
     * 任务事件发生时间
     */
    private LocalDateTime event_time;

    private String title;

    /**
     * 0 创建
1 进行中
2 异常.需要恢复后再继续处理
3 完成
     */
    private Integer status;

    private String description;

    private LocalDateTime create_time;

    private LocalDateTime finshed_time;
}
